package com.lianyu507.bean;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.map.annotate.JsonDeserialize;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Peter on 16/9/1.
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class GalleryBean {

    private String previousEndpoint;
    private String nextEndpoint;
    @JsonDeserialize(as=ArrayList.class)
    private List<GalleryItemBean> items=new ArrayList<GalleryItemBean>();

    public String getPreviousEndpoint() {
        return previousEndpoint;
    }

    public void setPreviousEndpoint(String previousEndpoint) {
        this.previousEndpoint = previousEndpoint;
    }

    public String getNextEndpoint() {
        return nextEndpoint;
    }

    public void setNextEndpoint(String nextEndpoint) {
        this.nextEndpoint = nextEndpoint;
    }

    public List<GalleryItemBean> getItems() {
        return items;
    }

    public void setItems(List<GalleryItemBean> items) {
        this.items = items;
    }
}
